Autogenerated HTML docs for v1.5.0-rc0-g13e86
diff --git a/tutorial.html b/tutorial.html index a29d122..66b00fc 100644 --- a/tutorial.html +++ b/tutorial.html
@@ -300,8 +300,7 @@ </div></div> <p>You've now initialized the working directory—you may notice a new directory created, named ".git". Tell git that you want it to track -every file under the current directory with (notice the dot <em>.</em> -that means the current directory):</p> +every file under the current directory (note the <em>.</em>) with:</p> <div class="listingblock"> <div class="content"> <pre><tt>$ git add .</tt></pre> @@ -313,6 +312,9 @@ </div></div> <p>will prompt you for a commit message, then record the current state of all the files to the repository.</p> +</div> +<h2>Making changes</h2> +<div class="sectionbody"> <p>Try modifying some files, then run</p> <div class="listingblock"> <div class="content"> @@ -323,17 +325,17 @@ make a commit, like this:</p> <div class="listingblock"> <div class="content"> -<pre><tt>$ git add file1 file... +<pre><tt>$ git add file1 file2 file3 $ git commit</tt></pre> </div></div> <p>This will again prompt your for a message describing the change, and then -record the new versions of the files you listed. It is cumbersome -to list all files and you can say <tt>git commit -a</tt> (which stands for <em>all</em>) -instead of running <tt>git add</tt> beforehand.</p> +record the new versions of the files you listed.</p> +<p>Alternatively, instead of running <tt>git add</tt> beforehand, you can use</p> <div class="listingblock"> <div class="content"> <pre><tt>$ git commit -a</tt></pre> </div></div> +<p>which will automatically notice modified (but not new) files.</p> <p>A note on commit messages: Though not required, it's a good idea to begin the commit message with a single short (less than 50 character) line summarizing the change, followed by a blank line and then a more @@ -783,7 +785,7 @@ </div> <div id="footer"> <div id="footer-text"> -Last updated 03-Jan-2007 22:02:04 UTC +Last updated 07-Jan-2007 07:43:51 UTC </div> </div> </body>